import { organization } from "@/constants/common/organization";
export const formField = [
  [
    {
      label: "手机号",
      prop: "phone",
      type: "tel",
    },
    {
      label: "登陆密码",
      prop: "password",
      type: "password",
    },
    {
      label: "确认密码",
      prop: "confirmPassword",
      type: "password",
    },
  ],
  [
    {
      label: "姓名",
      prop: "name",
      type: "text",
    },
    {
      label: "性别",
      prop: "sex",
      type: "radio",
      options: [
        {
          label: "男",
          value: "male",
        },
        {
          label: "女",
          value: "female",
        },
      ],
    },
    {
      label: "年龄",
      prop: "age",
      type: "number",
    },
    {
      label: "身份证号",
      prop: "idCard",
      type: "text",
    },
    {
      label: "机构名称",
      prop: "organization",
      type: "option",
      options: organization,
    },
    {
      label: "所属行业",
      prop: "industry",
      type: "text",
    },
    {
      label: "联系方式",
      prop: "contact",
      type: "number",
    },
  ],
  [
    {
      label: "从业时间",
      prop: "working-seniority",
      type: "data-picker",
    },
    {
      label: "可提供助诊服务时间",
      prop: "artifact-time",
      type: "time-picker",
    },
    {
      label: "家庭住址",
      prop: "address",
      type: "text",
    },
    {
      label: "",
      clause: "陪诊员注册条款",
      prop: "clause",
      type: "checkbox",
    },
  ],
];
